package com.gitee.feizns.itrip.personal.beans.pojo;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 原始库存表
 * </p>
 *
 * @author feizns
 * @since 2019-01-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("itrip_product_store")
public class ProductStore implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 商品类型(0:旅游产品 1:酒店产品 2:机票产品)
     */
    private Integer productType;
    /**
     * 商品id
     */
    private Long productId;
    /**
     * 商品库存
     */
    private Integer store;
    private Date creationDate;
    private Long createdBy;
    private Date modifyDate;
    private Long modifiedBy;


}
